cygwin_winpid_to_pid

Contents|Index|Previous|Next
`cygwin_winpid_to_pid`

USAGE

    extern "C" pid_t cygwin_winpid_to_pid (int winpid);

DESCRIPTION

Given a Windows process ID, `winpid`, converts to the corresponding Cygwin process ID, if any. Returns `-1` if Windows process ID does not correspond to a Cygwin process ID.

    extern "C" cygwin_winpid_to_pid (int winpid);

    pid_t mypid;

    mypid = cygwin_winpid_to_pid (windows_pid);

Top|Contents|Index|Previous|Next